package com.ruoyi.chy.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 救援任务对象 rescue
 * 
 * @author renmengbin
 * @date 2025-05-30
 */
public class Rescue extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    @Excel(name = "编号")
    private Long id;

    /** 用户 */
    @Excel(name = "用户")
    private Long uid;

    /** 救援类型 */
    @Excel(name = "救援类型")
    private Long typeId;

    /** 位置 */
    @Excel(name = "位置")
    private String position;

    /** 求助人 */
    @Excel(name = "求助人")
    private String name;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phone;

    /** 车牌号 */
    @Excel(name = "车牌号")
    private String carNum;

    /** 详情描述 */
    @Excel(name = "详情描述")
    private String description;

    /** 逻辑删除字段，0未删除，1已删除 */
    private Long deleted;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setUid(Long uid) 
    {
        this.uid = uid;
    }

    public Long getUid() 
    {
        return uid;
    }

    public void setTypeId(Long typeId) 
    {
        this.typeId = typeId;
    }

    public Long getTypeId() 
    {
        return typeId;
    }

    public void setPosition(String position) 
    {
        this.position = position;
    }

    public String getPosition() 
    {
        return position;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }

    public void setCarNum(String carNum)
    {
        this.carNum = carNum;
    }

    public String getCarNum()
    {
        return carNum;
    }

    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    public void setDeleted(Long deleted) 
    {
        this.deleted = deleted;
    }

    public Long getDeleted() 
    {
        return deleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("uid", getUid())
            .append("typeId", getTypeId())
            .append("position", getPosition())
            .append("name", getName())
            .append("phone", getPhone())
            .append("carNum", getCarNum())
            .append("description", getDescription())
            .append("deleted", getDeleted())
            .toString();
    }
}
